package com.server.entity;

import com.server.core.domain.CommonResult;

import java.util.List;

public class Person extends CommonResult {
    private String name;
    private String email;
    private String sex;
    private List<Person> friend;

    public Person(String name, String email, String sex, List<Person> friend) {
        this.name = name;
        this.email = email;
        this.sex = sex;
        this.friend = friend;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public List<Person> getFriend() {
        return friend;
    }

    public void setFriend(List<Person> friend) {
        this.friend = friend;
    }
}
